home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / program / ddj0897.zip / DYN401.ZIP / examples / exam01 / readme < prev    next >
Text File  |  1996-02-18  |  1KB  |  54 lines

  1.  
  2.  
  3. This example demonstrates the minimum steps necessary to compile and
  4. link a program which correctly initializes the Dynace system.
  5.  
  6. The remaining instructions in this file should be followed for
  7. all the other examples.  They will not be repeated.
  8.  
  9.  
  10. To compile the example with the Microsoft, WATCOM or Borland compilers
  11. use the following command:
  12.  
  13.     dmake -f MAKEFILE.DM
  14.  
  15. where MAKEFILE.DM is one of the following:
  16.  
  17.     M16.DM        Microsoft C 16 bit
  18.     M32.DM        Microsoft C 32 bit
  19.     W32.DM        WATCOM C 32 bit
  20.     B16.DM        Borland C 16 bit
  21.     B32.DM        Borland C 32 bit
  22.     S32.DM        Symantec C 32 bit
  23.  
  24. In addition, the following command can be used to build with debugging
  25. information:
  26.  
  27.     dmake -f MAKEFILE.DM  DEBUG=1
  28.  
  29.  
  30. To compile the example under UNIX/Linux with the GNU C compiler use:
  31.  
  32.     make -f makefile.unx
  33.  
  34. (or just 'make' if you've removed the .unx extensions)
  35.  
  36.  
  37. The make process will create a stand-alone executable named main.exe
  38. which may be executed to run the example.
  39.  
  40.  
  41. To return the directory to its initial state (delete all the created
  42. files) use the following:
  43.  
  44.     dmake -f MAKEFILE.DM  clean
  45.  
  46.  
  47.  
  48. The DMAKE utility is documented in \DYNACE\DOCS\DMAKE.MAN
  49.  
  50.  
  51. Note that the file ..\list contains the most up-to-date list of example
  52. programs.
  53.  
  54.